Scripts and DLLs¶
Description¶
There are two main methods for implementing extensions.
-
Script
Implementation method by C# script
-
.NET DLL
How to implement to compile .NET DLL from C#
Differences depending on the implementation method¶
-
The differences depending on the extension mounting method are as follows.
Item Script .NET DLL Next Design Object Model Operation Yes Yes Modification of distributed extension Yes No Immediate execution in script editor Yes No Add custom UI No Yes Visual Studio Intellisense code completion No Yes Debugging with Visual Studio No Yes Compile wait time when calling the first process Yes No Processing performance High High -
The recommended implementation is to compile from C# into a .NET DLL. You can also add custom UIs using the .NET Framework libraries to develop small to large extensions. You can expect high productivity because you can use powerful development support functions such as Intellisense and debugger that Visual Studio has.
- With the C# script implementation method, the processing contents can be opened. Users of the extension can check the processing contents before using it, and if they need to be changed, they can directly change and execute the script.
- Script-based C# scripts can also be executed immediately by Script Editor of Next Design.
- The implementation code of the handler is the same for .NET DLL-style C# and script-style C# scripts. Therefore, it is possible to debug by using Visual Studio with .NET DLL method, and then make a small modification to the implemented C# source code and provide it as a C# script.